package com.karaoke.oksrv.mapper.emedia;

import com.karaoke.oksrv.domain.Room;
import org.apache.ibatis.annotations.Param;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public interface RoomMapper {
    int deleteByPrimaryKey(String no);

    int insert(Room record);

    int insertSelective(Room record);

    Room selectByPrimaryKey(String no);

    int updateByPrimaryKeySelective(Room record);

    int updateByPrimaryKey(Room record);

    @Nullable
    Room selectRoomInfo(@Param("roomId") String roomId);
}